package com.wzdigit.wms.basic.domain.task;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.wzdigit.framework.orm.model.BasicDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * wms定时调度任务表
 * </p>
 *
 * @author 
 * @since 2021-04-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_TASK_SCHEDULING")
@KeySequence(value = "WMS_TASK_SCHEDULING_SEQ", clazz = Integer.class)
public class TaskScheduling extends BasicDomain {

    private static final long serialVersionUID = 1L;

    /**
     * 调度ID
     */
    @TableId(value = "TASK_SCHEDULING_ID", type = IdType.INPUT)
    private Integer taskSchedulingId;

    /**
     * 调度名称
     */
    @TableField("NAME")
    private String name;

    /**
     * 调度描述
     */
    @TableField("DESCRIBE")
    private String describe;

    /**
     * 执行计划
     */
    @TableField("CRON")
    private String cron;

    /**
     * 启用状态
     */
    @TableField("IS_ENABLED")
    private Integer isEnabled;

    /**
     * 单据组
     */
    @TableField("DOC_GROUP")
    private String docGroup;
    
    /**
     * 单据类型，多个以；隔开
     */
    @TableField("DOC_TYPE")
    private String docType;
    
    /**
     * 工厂组织，多个以；隔开
     */
    @TableField("FACTORY")
    private String factory;

    /**
     * 备注
     */
    @TableField("COMMENTS")
    private String comments;
}
